﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://wubiyu.cnblogs.com">
<head>
      <title></title>
      <link href="../../Theme/DomExtGray/gray.min.css" rel="Stylesheet" type="text/css" />
      <link href="PageModel.css" rel="Stylesheet" type="text/css" />
      <script type="text/javascript" src="../../domExt.min.js"></script>
      <style type="text/css">

 p.MsoNormal
{
     margin-bottom:.0001pt;
	text-align:justify;
	text-justify:inter-ideograph;
	font-size:10.5pt;
	font-family:"Calibri","sans-serif";
	margin-left: 0cm;
      margin-right: 0cm;
      margin-top: 0cm;
}
      </style>
</head>
<body>
      <div class="fun_title">
             &lt;h:pagesplitter&gt;&lt;/h:pagesplitter&gt;标记
      </div>
      <div class="fun_content">
            描述：分页标记。<br />
      </div>
      <div class="fun_title2">
            属性:
      </div>
      <div class="fun_content2">
           PageSize：设置或获取每页大小。默认：10<br />
           CurrentPage：当前页索引<br />
           Total：设置或获总数。<br />
           PageTotal：每页总数。<br />
           ShowSize：显示多少页<br />
           UpPageTxt：显示上一页的文本。默认：<<br />
           CssUpPage：上一页的样式。默认：Item<br />
           NextPageTxt：显示下一页的文本。><br />
           CSSNextPage：上一页的样式。默认：Item<br />
            FirstPage：显示第一页的文本。默认：|&lt;<br />
           CSSFirstPage：第一页的样式。默认：Item<br />
            EndPage：显示最后一页的文本。默认：&gt;|<br />
            CssEndPage：最后一页的样式。默认：Item<br />
            CSSPageItem：每一页的样式。默认：Item<br />
            IsShowGoPanel：是否显示转到第几页。默认：“true”<br />
           OnPageChange=function(e, index)：当页号发生变化时触发的事件句柄。
      </div>
      <div class="fun_title2">
            对象方法:
      </div>
       <div class="fun_content2">
          <span>Bind()</span> ：绑定数据<br />
      </div>
      <div class="fun_title2">
            示例预览:
      </div>
      <div class="code">
<h:pagesplitter id="psplitter">
</h:pagesplitter>
<script type="text/javascript">
      _h.ready(function () {
            _g("#psplitter").Total = 130;
            _g("#psplitter").Bind();
      });
</script>
        </div>
        <br />
       <div class="fun_title2">
            示例代码:
      </div>
       <div class="code">
             Html code
             <p align="left" class="MsoNormal">
                   <span lang="EN-US" style="font-size:9.5pt;font-family:
&quot;Microsoft YaHei&quot;;mso-bidi-font-family:&quot;Microsoft YaHei&quot;;color:blue;mso-font-kerning:
0pt">&lt;</span><span lang="EN-US" style="font-size:9.5pt;font-family:&quot;Microsoft YaHei&quot;;
mso-bidi-font-family:&quot;Microsoft YaHei&quot;;color:#404040;mso-font-kerning:0pt">h</span><span 
                         lang="EN-US" style="font-size:9.5pt;font-family:&quot;Microsoft YaHei&quot;;mso-bidi-font-family:
&quot;Microsoft YaHei&quot;;color:blue;mso-font-kerning:0pt">:</span><span lang="EN-US" style="font-size:9.5pt;font-family:&quot;Microsoft YaHei&quot;;mso-bidi-font-family:&quot;Microsoft YaHei&quot;;
color:fuchsia;mso-font-kerning:0pt">pagesplitter</span><span lang="EN-US" style="font-size:9.5pt;font-family:&quot;Microsoft YaHei&quot;;mso-bidi-font-family:&quot;Microsoft YaHei&quot;;
mso-font-kerning:0pt"> <span style="color:red">id</span><span style="color:
blue">=&quot;psplitter&quot;&gt;</span><o:p></o:p></span></p>
             <p align="left" class="MsoNormal">
                   <span lang="EN-US" style="font-size:9.5pt;font-family:
&quot;Microsoft YaHei&quot;;mso-bidi-font-family:&quot;Microsoft YaHei&quot;;color:blue;mso-font-kerning:
0pt">&lt;/</span><span lang="EN-US" style="font-size:9.5pt;font-family:&quot;Microsoft YaHei&quot;;
mso-bidi-font-family:&quot;Microsoft YaHei&quot;;color:fuchsia;mso-font-kerning:0pt">h</span><span 
                         lang="EN-US" style="font-size:9.5pt;font-family:&quot;Microsoft YaHei&quot;;mso-bidi-font-family:
&quot;Microsoft YaHei&quot;;color:blue;mso-font-kerning:0pt">:</span><span lang="EN-US" style="font-size:9.5pt;font-family:&quot;Microsoft YaHei&quot;;mso-bidi-font-family:&quot;Microsoft YaHei&quot;;
color:fuchsia;mso-font-kerning:0pt">pagesplitter</span><span lang="EN-US" style="font-size:9.5pt;font-family:&quot;Microsoft YaHei&quot;;mso-bidi-font-family:&quot;Microsoft YaHei&quot;;
color:blue;mso-font-kerning:0pt">&gt;</span><span lang="EN-US" style="font-size:
9.5pt;font-family:&quot;Microsoft YaHei&quot;;mso-bidi-font-family:&quot;Microsoft YaHei&quot;;
mso-font-kerning:0pt"><o:p></o:p></span></p>
             <p align="left" class="MsoNormal">
                   <span lang="EN-US" style="font-size:9.5pt;font-family:
&quot;Microsoft YaHei&quot;;mso-bidi-font-family:&quot;Microsoft YaHei&quot;;color:blue;mso-font-kerning:
0pt">&lt;</span><span lang="EN-US" style="font-size:9.5pt;font-family:&quot;Microsoft YaHei&quot;;
mso-bidi-font-family:&quot;Microsoft YaHei&quot;;color:maroon;mso-font-kerning:0pt">script</span><span 
                         lang="EN-US" style="font-size:9.5pt;font-family:&quot;Microsoft YaHei&quot;;mso-bidi-font-family:
&quot;Microsoft YaHei&quot;;mso-font-kerning:0pt"> <span style="color:red">type</span><span 
                         style="color:blue">=&quot;text/javascript&quot;&gt;</span><o:p></o:p></span></p>
             <p align="left" class="MsoNormal">
                   <span lang="EN-US" 
                         style="font-size:9.5pt;font-family:
&quot;Microsoft YaHei&quot;;mso-bidi-font-family:&quot;Microsoft YaHei&quot;;mso-font-kerning:0pt">
                   <span style="mso-spacerun:yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>_h.ready(<span 
                         style="color:blue">function</span> () {<o:p></o:p></span></p>
             <p align="left" class="MsoNormal">
                   <span lang="EN-US" 
                         style="font-size:9.5pt;font-family:
&quot;Microsoft YaHei&quot;;mso-bidi-font-family:&quot;Microsoft YaHei&quot;;mso-font-kerning:0pt">
                   <span style="mso-spacerun:yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                   </span>_g(<span style="color:maroon">&quot;#psplitter&quot;</span>).Total = 130;<o:p></o:p></span></p>
             <p align="left" class="MsoNormal">
                   <span lang="EN-US" 
                         style="font-size:9.5pt;font-family:
&quot;Microsoft YaHei&quot;;mso-bidi-font-family:&quot;Microsoft YaHei&quot;;mso-font-kerning:0pt">
                   <span style="mso-spacerun:yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                   </span>_h.PageSplitter.BindData(<span style="color:#404040">_g</span>(<span 
                         style="color:maroon">&quot;#psplitter&quot;</span>));<o:p></o:p></span></p>
             <p align="left" class="MsoNormal">
                   <span lang="EN-US" 
                         style="font-size:9.5pt;font-family:
&quot;Microsoft YaHei&quot;;mso-bidi-font-family:&quot;Microsoft YaHei&quot;;mso-font-kerning:0pt">
                   <span style="mso-spacerun:yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>});<o:p></o:p></span></p>
             <p align="left" class="MsoNormal">
                   <span lang="EN-US" style="font-size:9.5pt;font-family:
&quot;Microsoft YaHei&quot;;mso-bidi-font-family:&quot;Microsoft YaHei&quot;;color:blue;mso-font-kerning:
0pt">&lt;/</span><span lang="EN-US" style="font-size:9.5pt;font-family:&quot;Microsoft YaHei&quot;;
mso-bidi-font-family:&quot;Microsoft YaHei&quot;;color:maroon;mso-font-kerning:0pt">script</span><span 
                         lang="EN-US" style="font-size:9.5pt;font-family:&quot;Microsoft YaHei&quot;;mso-bidi-font-family:
&quot;Microsoft YaHei&quot;;color:blue;mso-font-kerning:0pt">&gt;<o:p></o:p></span></p>

             </div>

</body>
</html>
